package com.trkj.pojos;

import java.io.Serializable;
import javax.persistence.*;

import com.alibaba.fastjson.annotation.JSONField;

import java.math.BigDecimal;
import java.util.Date;


/**
 * The persistent class for the CC_DOCTOR_ADVICE database table.
 * 
 */
@Entity
@Table(name="CC_DOCTOR_ADVICE")
@NamedQuery(name="CcDoctorAdvice.findAll", query="SELECT c FROM CcDoctorAdvice c")
public class CcDoctorAdvice implements Serializable {
	private static final long serialVersionUID = 1L;

	@Id
	@SequenceGenerator(allocationSize=1,name="CC_DOCTOR_ADVICE_DAID_GENERATOR", sequenceName="SEQHIS")
	@GeneratedValue(strategy=GenerationType.SEQUENCE, generator="CC_DOCTOR_ADVICE_DAID_GENERATOR")
	@Column(name="DA_ID")
	private long daId;

	@Column(name="AD_NAME")
	private String adName;

	@Column(name="ELE_PERID")
	private BigDecimal elePerid;

	@Temporal(TemporalType.DATE)
	@JSONField(format="yyyy/MM/dd")
	private Date printdate;

	private BigDecimal printstaff;

	public CcDoctorAdvice() {
	}

	public long getDaId() {
		return this.daId;
	}

	public void setDaId(long daId) {
		this.daId = daId;
	}

	public String getAdName() {
		return this.adName;
	}

	public void setAdName(String adName) {
		this.adName = adName;
	}

	public BigDecimal getElePerid() {
		return this.elePerid;
	}

	public void setElePerid(BigDecimal elePerid) {
		this.elePerid = elePerid;
	}

	public Date getPrintdate() {
		return this.printdate;
	}

	public void setPrintdate(Date printdate) {
		this.printdate = printdate;
	}

	public BigDecimal getPrintstaff() {
		return this.printstaff;
	}

	public void setPrintstaff(BigDecimal printstaff) {
		this.printstaff = printstaff;
	}

}